Skip to content

Reject duplicate venue signers in create_venue and update_venue_signers#1915

Open
tgntr wants to merge 1 commit intodevelopfrom
MESH-2310-L-06
Open

Reject duplicate venue signers in create_venue and update_venue_signers#1915
tgntr wants to merge 1 commit intodevelopfrom
MESH-2310-L-06

Conversation

@tgntr
Copy link
Copy Markdown
Contributor

@tgntr tgntr commented Apr 3, 2026

changelog

modified external API

  • Reject duplicate venue signers in create_venue and update_venue_signers

other

  • Added new error DuplicateSigners

pub fn create_venue(
origin: OriginFor<T>,
details: VenueDetails,
signers: Vec<T::AccountId>,
Copy link
Copy Markdown
Contributor

@HenriqueNogara HenriqueNogara Apr 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can change this to use a BtreeSet instead. The same for update_venue_signers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants